package cn.com.zero.file.vo;

import cn.com.zero.base.vo.BaseVO;

import java.io.Serializable;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 文件详细信息类型
 * @createTime 2022/9/13
 */
public class FileInfo extends BaseVO implements Serializable {
    private static final long serialVersionUID = 7848632085791671642L;

    /**
     * 原始文件名
     */
    private String originalName;

    /**
     * 是否图片
     */
    private Boolean isImg;

    /**
     * 文件大小
     */
    private long size;

    /**
     * 上传文件类型
     */
    private String contentType;

    /**
     * 文件名后缀
     */
    private String extension;

    /**
     * 文件访问相对路径
     */
    private String relativeFilePath;


    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public Boolean getIsImg() {
        return isImg;
    }

    public void setIsImg(Boolean isImg) {
        this.isImg = isImg;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public String getRelativeFilePath() {
        return relativeFilePath;
    }

    public void setRelativeFilePath(String relativeFilePath) {
        this.relativeFilePath = relativeFilePath;
    }
}
